package cn.alone.org.service;

import cn.alone.basic.service.IBaseService;
import cn.alone.org.domain.Department;

import java.util.List;

/**
 * 部门
 * @author lanan
 */
public interface IDepartmentService extends IBaseService<Department> {


  /**
   * 批量删除
   * @param ids
   */
    void patchDelete(List<Long> ids);

    /**
     * 查询树形数据 一二级部门
     * @return
     */
    List<Department> findTree();
}
